package xyz.ddlnt.serviceusr.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Mapper;
import xyz.ddlnt.model.dto.PostCommentAreaDTO;
import xyz.ddlnt.model.entity.PostComment;
import xyz.ddlnt.model.vo.MyCommentVO;
import xyz.ddlnt.model.vo.PostCommentVO;
import xyz.ddlnt.model.vo.ReplyCommentVO;

import java.util.List;

/**
 * @author ZZULI_SE 210910
 * @data 2025/5/25 14:18
 */
@Mapper
public interface PostCommentMapper extends BaseMapper<PostComment> {

    List<PostCommentVO> selectComment(IPage<PostCommentVO> page, PostCommentAreaDTO postCommentAreaDTO);

    List<MyCommentVO> selectMyComment(Long id);

    List<ReplyCommentVO> selectReplyComment(Long id);
}

